package com.uplift.mgt.building.service;

import com.uplift.common.base.ServiceReslut;
import com.uplift.mgt.building.model.BuildingModel;
import com.uplift.mgt.building.model.RealtyInfo;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

public interface IBuildingService {
	public List<Map<String, Object>> queryBuilding(BuildingModel buildingModel);


	public List<Map<String, Object>> queryAllBuilding(BuildingModel buildingModel);

	@Transactional
	public ServiceReslut addBuilding(BuildingModel buildingModel);

	@Transactional
	public ServiceReslut updateBuilding(BuildingModel buildingModel);

	@Transactional
	public ServiceReslut deleteBuilding(BuildingModel buildingModel);
}
